package com.atguigu.mapper;

import com.atguigu.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminMapper {

    void add(Admin admin);

    void deleteById(Integer id);

    void update(Admin admin);

    List<Admin> selectAll(Admin admin);

    Admin selectById(Integer id);

    Admin selectByUsername(String username);
}
